/*
 * @Author: your name
 * @Date: 2021-09-04 21:10:38
 * @LastEditTime: 2021-10-18 09:50:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \traning\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/reset.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './mock/mockServer'
// 引入echarts
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;
//引入拖拽移动文件
import './utils/dialogDrog.js'
//引入国际化
import VueI18n from 'vue-i18n'
Vue.use(VueI18n)
const i18n = new VueI18n({
  locale: 'zh',
  messages: {
    'zh': require('./VueI18n/language-zh'),
    'en': require('./VueI18n/language-en')
  },
  silentTranslationWarn: true
})
// 引入jquery
import $ from 'jquery';
window.jQuery = $;
window.$ = $;
// import * as echarts from 'echarts'
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  i18n,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
